<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商品类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea 
             id="type" data-rule="required" placeholder="subject:课程;product:商品" value="subject" class="form-control" rows="5" name="row[type]" cols="10"></textarea>
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" placeholder="0:未提现;1:已提现" value="0" id="status" class="status form-control" name="status" > 
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('推荐人id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" id="parentid" class="parentid form-control" name="parentid" > 
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('订单id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" id="orderid" class="orderid form-control" name="orderid" > 
        </div>

        <label class="control-label col-xs-12 col-sm-2">{:__('佣金金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" id="amount" class="amount form-control" name="amount" > 
        </div>
    </div>

    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="button" class="btn btn-default btn-embossed btn-close">{:__('Close')}</button>
        </div>
    </div>
</form>